package com.example.lancooznbk.presenter.presenter_interface;

import com.example.lancooznbk.model.result.FavouriteListEntity;
import com.example.lancooznbk.view.base.ILoadDataPresenter;

/**
 * Created by tangminglong on 17/9/14.
 */

public interface FavouriteListPresenterIF extends ILoadDataPresenter{
    /**
     * 查询
     * @param str 查询关键字
     * @param quesType 题型
     */
    void searchFavouriteItem(String str, String quesType);



    /**
     * 点击item打开
     * @param position
     * @param favouriteListBean
     */
    void openFavoriteItemDetail(int position, FavouriteListEntity.FavouriteListBean favouriteListBean);

    /**
     * 删除该题收藏
     * @param position
     * @param favouriteListBean
     */
    void delItemFavourite(int position, FavouriteListEntity.FavouriteListBean favouriteListBean);
}
